package com.qf.from;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *
 * 添加APP信息时需要接收的参数
 *
 */

@Data
public class AddAppInfoFrom implements Serializable {

    @NotBlank(message = "软件名称为必填项！岂能为空！")
    private String softwareName;

    @NotBlank(message = "apk名称为必填项！岂能为空！")
    private String apkName;

    @NotBlank(message = "ORM版本为必填项！岂能为空！")
    private String supportRom;

    @NotBlank(message = "界面语言为必填项！岂能为空！")
    private String interfaceLanguage;

    @NotBlank(message = "软件大小为必填项！岂能为空！")
    private String softwareSize;

    @NotBlank(message = "APP简介为必填项！岂能为空！")
    private String appInfo;

    @NotNull(message = "所属平台为必填项！岂能为空！")
    private Long flatformId;

    @NotNull(message = "一级分类为必填项！岂能为空！")
    private Long categoryLevel1;

    @NotNull(message = "二级分类为必填项！岂能为空！")
    private Long categoryLevel2;

    @NotNull(message = "三级分类为必填项！岂能为空！")
    private Long categoryLevel3;

    @NotBlank(message = "上传图片为必填项！岂能为空！")
    private String picPath;

}
